package com.fortune.service.impl;

import com.fortune.dao.PaymentDao;
import com.fortune.service.PaymentService;
import com.fortune.vo.payment.PaymentInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaymentServiceImpl implements PaymentService {
    @Autowired
    private PaymentDao paymentDao;

    @Override
    public List<PaymentInfo> list() {
        return paymentDao.list();
    }
}
